
public class Person 
{
	@Override
	public String toString()
	{
		return " Hi I'm " + name;
	}
	
	private final String name;
	private final Data birthday;
	
	public Person(String name, Data birthday)
	{
		if (name == null || birthday == null)
		{
			throw new IllegalArgumentException();
		}
		
		this.name = name;
		this.birthday = birthday.cloneData();
				
	}
	
	public Data getBirthday()
	{
		return birthday.cloneData();
	}
	
	public String getName()
	{
		return name;
	}
	
}
